const mysql = require('mysql')
 
const db = mysql.createConnection({
    host: 'localhost',
    port: 3306,    // 数据库默认端口3306
    user: 'root',
    password: 'root',
    database: 'outpatient'
})
 
module.exports = db